<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>转账</title>
</head>
<style>
    *{
        margin: 0;
        padding: 0;
    }
    ul,li{
        list-style: none;
    }
    a{
        text-decoration:none;
    }
    body{
        margin: 0;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-image: url(/images/login-bg.jpg);
    }
    .zz{

        margin-left: 33vw;
    }
    .x{
        text-align: center;
        margin-top: 20vh;
    }
    #table{
        border-color: rgb(241, 240, 240);
        border-radius: 2%;
        text-align: center;
    }
    p{
        margin: 5px 20px;
    }
</style>
<body>
<h1 class="x">转账</h1>
<div class="zz">
        <table border="1" cellpadding="" cellspacing="0" id="table">
            <tr>
                <th><p>账户id</p></th>
                <th><p>账户姓名</p></th>
                <th><p>账户电话</p></th>
                <th><p>转账金额</p></th>
            </tr>
            <tr th:each="other : ${session.OthersList}">
                <td ><p th:text="${other.id}"></p></td>
                <td ><p th:text="${other.username}"></p></td>
                <td ><p th:text="${other.phone}"></p></td>
                <td>
                    <form th:action="@{/zhuanzhang}">
                        <input type="text" name="money">
                        <input type="hidden" name="id" th:value="${other.id}">
                        <input type="hidden" name="type" value="0">
                        <input type="submit" value="转账">
                    </form>
                </td>
            </tr>
        </table>
</div>
</body>
</html>
